Skip to content

add packages to dep list for peer dep requirement #1807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2019
Merged

Conversation

Feiyang1
Copy link
Member

@firebase/{component} has a peer dependency on @firebase/app-types and some has peer dependency on @firebase/util.

Since firebase depends on @firebase/{component} directly, it should list all the peer dependencies from @firebase/{component} as its dependency, otherwise yarn will complain with unmet peer dependency warning.
The fact that @firebase/app-types is a dependency of @firebase/app is not enough as explained in yarnpkg/yarn#5347 (comment)

This is not a problem with npm because npm doesn't care how the peer dependencies are installed as long as they are there.

@Feiyang1 Feiyang1 merged commit 1811518 into master May 21, 2019
@Feiyang1 Feiyang1 deleted the fei-peerdep branch May 21, 2019 18:37
@firebase firebase locked and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants